package com.zzy.database.pojo;

import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;


public class LoanPayment {
    private String paymentId;//还款操作ID
    private String loanId;//对应贷款项目ID
    private Date paymentDate;//还款日期
    private BigDecimal paymentAmount;//还款金额
    private BigDecimal remainingAmount;//剩余还款金额

    public LoanPayment() {
    }

    public LoanPayment(String paymentId, String loanId, Date paymentDate, BigDecimal paymentAmount, BigDecimal remainingAmount) {
        this.paymentId = paymentId;
        this.loanId = loanId;
        this.paymentDate = paymentDate;
        this.paymentAmount = paymentAmount;
        this.remainingAmount = remainingAmount;
    }

    /**
     * 获取
     * @return paymentId
     */
    public String getPaymentId() {
        return paymentId;
    }

    /**
     * 设置
     * @param paymentId
     */
    public void setPaymentId(String paymentId) {
        this.paymentId = paymentId;
    }

    /**
     * 获取
     * @return loanId
     */
    public String getLoanId() {
        return loanId;
    }

    /**
     * 设置
     * @param loanId
     */
    public void setLoanId(String loanId) {
        this.loanId = loanId;
    }

    /**
     * 获取
     * @return paymentDate
     */
    public Date getPaymentDate() {
        return paymentDate;
    }

    /**
     * 设置
     * @param paymentDate
     */
    public void setPaymentDate(Date paymentDate) {
        this.paymentDate = paymentDate;
    }

    /**
     * 获取
     * @return paymentAmount
     */
    public BigDecimal getPaymentAmount() {
        return paymentAmount;
    }

    /**
     * 设置
     * @param paymentAmount
     */
    public void setPaymentAmount(BigDecimal paymentAmount) {
        this.paymentAmount = paymentAmount;
    }

    /**
     * 获取
     * @return remainingAmount
     */
    public BigDecimal getRemainingAmount() {
        return remainingAmount;
    }

    /**
     * 设置
     * @param remainingAmount
     */
    public void setRemainingAmount(BigDecimal remainingAmount) {
        this.remainingAmount = remainingAmount;
    }

    public String toString() {
        return "LoanPayment{paymentId = " + paymentId + ", loanId = " + loanId + ", paymentDate = " + paymentDate + ", paymentAmount = " + paymentAmount + ", remainingAmount = " + remainingAmount + "}";
    }
}
